package com.quectel.core.module.parkingcard.dto;

import com.quectel.core.module.village.dto.VillageDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ryan
 * @email ryan.ran@quectel.com
 * @date 2023/04/18 17:23
 */
@Data
@Schema
public class ParkingCardDto implements Serializable {

    /**
     *
     */
    @Schema(description = "")
    private Long id;

    /**
     * 租户id
     */
    @Schema(description = "租户id")
    private Long tenantId;

    /**
     * 所属小区id
     */
    @Schema(description = "所属小区id")
    private Long villageId;

    /**
     * 月卡名称
     */
    @Schema(description = "月卡名称")
    private String name;

    /**
     * 月卡类型 1月卡 2季卡 3半年卡 4年卡
     */
    @Schema(description = "月卡类型 1月卡 2季卡 3半年卡 4年卡")
    private Byte type;

    /**
     * 原价
     */
    @Schema(description = "原价")
    private BigDecimal price;

    /**
     * 折扣价
     */
    @Schema(description = "折扣价")
    private BigDecimal discountPrice;

    /**
     * 购卡须知
     */
    @Schema(description = "购卡须知")
    private String detail;

    /**
     * 状态1启用0未启用
     */
    @Schema(description = "状态1启用0未启用")
    private Byte status;

    /**
     *
     */
    @Schema(description = "")
    private String creator;

    /**
     *
     */
    @Schema(description = "")
    private Date createTime;

    /**
     *
     */
    @Schema(description = "")
    private String editor;

    /**
     *
     */
    @Schema(description = "")
    private Date editTime;

    /************非数据库字段 start ************/
    @Schema(description = "小区信息")
    private VillageDto village;
    @Schema(description = "支付业务类型")
    private String businessType;
    /************非数据库字段 end **************/
}
